import { Entity, Column, PrimaryGeneratedColumn, CreateDateColumn } from 'typeorm';

@Entity()
export class Focus {
    @PrimaryGeneratedColumn()
    focusid: number;
    
    @Column()
    follower_id: string; // 关注者ID
    
    @Column()
    following_id: string; // 被关注者ID
    
    @CreateDateColumn({
        type: 'timestamp'
    })
    create_time: Date;
}
